package Polymorphic02;/*


1111



*/

public class Kangaroo extends Animal{
    public Kangaroo(){}
    public Kangaroo(String name,int age,String denger){
        super(name, age, denger);
    }
    public void boxing(){
        System.out.println(this.getName()+"喜欢拳击");
    }
    public void jump(){
        System.out.println("在深坑里跳");
    }
}
